#include <iostream>
#include <cstdio>
#include <cmath>

using namespace std;

int	main(int argc, char *argv[])
{
	if (argc < 4)
	{
		puts("Judge Input Error");
		puts("0");
		return 1;
	}
	//FILE *fin = fopen(argv[1]);
	FILE *fout = fopen(argv[2], "r");
	FILE *fans = fopen(argv[3], "r");

	double my_answer;
	double your_answer;
	int is_error = 0;

	if (fans)
	{
		fscanf(fans, "%lf", &my_answer);
	} else
	{
		puts("No Standard File");
		puts("0");
		is_error = 1;
	}

	if (fout)
	{
		fscanf(fout, "%lf", &your_answer);
	} else
	{
		puts("No Output File");
		puts("0");
		is_error = 1;
	}

	if (!is_error)
	{
		printf("your_answer = %.10lf my_answer = %.10lf\n", your_answer, my_answer);
		if (fabs(your_answer - my_answer) / my_answer < 1e-6)
			puts("10");
		else
			puts("0");
	}

	fclose(fans);
	fclose(fout);

	return is_error;
}
